<script setup lang="ts">
import { IFlwProcessVO } from '@/api/oa/flwProcess';

defineOptions({ name: 'EntranceItem' });

defineProps<{ item: IFlwProcessVO }>();
</script>

<template>
	<div class="cursor-pointer text-[#fff] w-[120px] h-[120px] flex flex-col items-center justify-center bg-primary-light-3 rounded-xl">
		<SvgIcon class="!text-[45px] !leading-[45px]" :size="45" color="#fff" :name="item.processIcon" />
		<div class="font-bold mt-3">{{ item.processName }}</div>
	</div>
</template>

<style lang="scss" scoped></style>
